﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp18
{
    class vehicle
    {
        public string name { get; set; }

        public vehicle(string name)
        {
            this.name = name;
        }
        public void hello() 
        {
            Console.WriteLine("名字{0}",this.name);
        }
        public void manned() 
        {
            Console.WriteLine("我可以载人");
        }
    }
}
